import org.junit.Test;

public class test {
    @Test
    public void delete(){
        String url = "https://hqedu.oss-cn-hangzhou.aliyuncs.com/2022/10/28/e0d4b478d5e74de8a4b183e49b24f67baaaaa.txt";
        for (int i = 0; i < 3; i++) {
            int indexOf = url.indexOf("/");
            url = url.substring(indexOf + 1);
        }
        System.out.println(url);
    }
}
